package com.zhang.servicemap.controller;

import com.zhang.internalcommon.dto.ResponseResult;
import com.zhang.servicemap.service.DicDistrictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ADMIN
 */
@RestController
public class DistrictController {
	@Autowired
	private DicDistrictService dicDistrictService;

	@GetMapping("/dic-district")
	public ResponseResult initDistrict(String keywords){
		ResponseResult responseResult = dicDistrictService.initDicDistrict(keywords);
		return responseResult;
	}
}
